Ext.define('Demo.view.Viewport', {
    extend: 'Ext.container.Viewport',
    title: 'Fit Layout',
    layout:'fit',
    requies:'Demo.view.ViewUserInfo',
    initComponent: function() {  
    var me = this;  
    Ext.apply(me, {  
        items: [  
            {  
                xtype: 'ViewUserInfo'  
            }  
        ]  
    });  
    me.callParent(arguments);  
}  
});